
<div class="row">
    <div class="col-md-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                <h3 class="panel-title">基础配置管理</h3>

            </div>
            <div class="panel-body">
                <div class="form-group">
                    <label class="col-sm-2 control-label">首页底部图片：</label>
                    <div class="col-sm-9">
                        #if($IndexImg.url)
                        <img id="indexImg" src="$IndexImg.url" style="width: 160px; height: 140px; margin-bottom: 20px;" />
                        #else
                        <img id="indexImg" src="" style="width: 160px; height: 140px; margin-bottom: 20px;" />
                        #end
                        <div class="col-md-12">
                            <div id="container">
                                <a class="btn btn-default btn-lg " id="pickfiles" href="#" >
                                    <i class="glyphicon glyphicon-plus"></i>
                                    <span>选择文件</span>
                                </a>
                            </div>
                        </div>
                        #if($indexImg.url)
                        <input  type="hidden" id="image_url" value="$indexImg.url"/>
                        #else
                        <input  type="hidden" id="image_url" value=""/>
                        #end
                    </div>
                </div>


            </div>


            <div class="panel-body">
                <div class="form-group">
                    <label class="col-sm-2 control-label">客服：</label>
                    <div class="col-sm-5">
                        <label class="col-sm-3 control-label">电话客服：</label>
                        <div class="col-sm-9">
                            <input type="text" id="cust_phone"  value="$custPhone.phone"/>
                        </div>
                    </div>

                    <div class="col-sm-5">
                        <label class="col-sm-3 control-label">QQ客服：</label>
                        <div class="col-sm-9">

                            <ul style=" list-style: none;">
                                <!--#foreach($type in $custQq)-->
                                <!--<li>-->
                                    <!--<input type="text" class="cust_qq"  value="$type.qq"/>-->
                                <!--</li>-->
                                <!--#end-->
                                <li>
                                    <input type="text" id="cust_qq_1" class="cust_qq"  value="$custQq[0].qq"/>
                                </li>
                                <li>
                                    <input type="text" id="cust_qq_2" class="cust_qq"  value="$custQq[1].qq"/>
                                </li>
                                <li>
                                    <input type="text" id="cust_qq_3" class="cust_qq"  value="$custQq[2].qq"/>
                                </li>

                            </ul>

                        </div>
                    </div>
                </div>

                <div class="form-group" style="margin-top: 20px;">
                    <!--<div class="col-md-5">-->
                    <!--</div>-->
                    <label class="col-sm-3 control-label"></label>
                    <div class="col-md-4" style="margin-top: 20px;">

                        <a onclick="saveBase();" class="btn btn-primary btn-block">保存</a>
                    </div>
                </div>

            </div>

        </div>


    </div>
</div>

<script src="/newshop/system/base/base.js"></script>
<script >

</script>

